//
//  DetailViewController.m
//  PiPiPineapple
//
//  Created by 李晓东 on 17/10/31.
//  Copyright © 2017年 PeanutXu. All rights reserved.
//

#import "DetailViewController.h"

@interface DetailViewController ()
@property (nonatomic, strong) UILabel *strLabel;
@end

@implementation DetailViewController

- (void)loadView{
    [super loadView];
    self.view.backgroundColor = [UIColor lightGrayColor];
    
    self.strLabel = [[UILabel alloc]initWithFrame:CGRectMake(70, 100, 40, 30)];
    [self.view addSubview:self.strLabel];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)drawSomeText:(NSString *)string{
    [self.strLabel setText:string];
}

@end
